package com.wangshb.upms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangshb.upms.core.tree.TreeNode;
import com.wangshb.upms.entity.UpmsPermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

@Mapper
public interface UpmsPermissionMapper extends BaseMapper<UpmsPermission> {


    List<UpmsPermission> findList(Page<UpmsPermission> page,@Param("condition") UpmsPermission condition);

    List<TreeNode> findForPermissionTree();
}
